"use strict";
cc._RF.push(module, '117e3+0Ls5KdLPPUCLhU7YJ', 'Constants');
// script/libs/Constants.ts

"use strict";
/**
 * 枚举常量的文件
 */
Object.defineProperty(exports, "__esModule", { value: true });
var JoystickType;
(function (JoystickType) {
    JoystickType[JoystickType["FIXED"] = 0] = "FIXED";
    JoystickType[JoystickType["FOLLOW"] = 1] = "FOLLOW";
})(JoystickType || (JoystickType = {}));
var DirectionType;
(function (DirectionType) {
    DirectionType[DirectionType["FOUR"] = 4] = "FOUR";
    DirectionType[DirectionType["EIGHT"] = 8] = "EIGHT";
    DirectionType[DirectionType["ALL"] = 0] = "ALL";
})(DirectionType || (DirectionType = {}));
var SpeedType;
(function (SpeedType) {
    SpeedType[SpeedType["STOP"] = 0] = "STOP";
    SpeedType[SpeedType["NORMAL"] = 1] = "NORMAL";
    SpeedType[SpeedType["FAST"] = 2] = "FAST";
})(SpeedType || (SpeedType = {}));
var JoystickEventType;
(function (JoystickEventType) {
    JoystickEventType["TOUCH_START"] = "touchStart";
    JoystickEventType["TOUCH_MOVE"] = "touchMove";
    JoystickEventType["TOUCH_END"] = "touchEnd";
    JoystickEventType["CHANGE_JOYSTICK_TYPE"] = "changeJoystickType";
})(JoystickEventType || (JoystickEventType = {}));
var UIName;
(function (UIName) {
    UIName["UIRank"] = "UIRank";
    UIName["UIOver"] = "UIOver";
    UIName["UIShop"] = "UIShop";
    UIName["UIGetTool"] = "UIGetTool";
    UIName["UISign"] = "UISign";
    UIName["UIReward"] = "UIReward";
    UIName["UILevel"] = "UILevel";
    UIName["UIUnlockLevel"] = "UIUnlockLevel";
})(UIName || (UIName = {}));
var StageEvent;
(function (StageEvent) {
    StageEvent["DrawParabola"] = "DrawParabola";
    StageEvent["ClearParabola"] = "ClearParabola";
    StageEvent["CastStosh"] = "CastStosh";
    StageEvent["RotateRod"] = "RotateRod";
    StageEvent["LaunchRod"] = "LaunchRod";
    StageEvent["ResetRod"] = "ResetRod";
    StageEvent["RefreshShop"] = "RefreshShop";
    StageEvent["RefreshLevel"] = "RefreshLevel";
    StageEvent["ChangePlayerAni"] = "ChangePlayerAni";
})(StageEvent || (StageEvent = {}));
var EnemyType;
(function (EnemyType) {
    EnemyType[EnemyType["fish"] = 0] = "fish";
    EnemyType[EnemyType["shark"] = 1] = "shark";
    EnemyType[EnemyType["penguin"] = 2] = "penguin";
    EnemyType[EnemyType["seal"] = 3] = "seal";
    EnemyType[EnemyType["duck"] = 4] = "duck";
})(EnemyType || (EnemyType = {}));
var PlayerAniState;
(function (PlayerAniState) {
    PlayerAniState["stosh"] = "stosh";
    PlayerAniState["run"] = "run";
    PlayerAniState["rod"] = "rod";
})(PlayerAniState || (PlayerAniState = {}));
var EnemyInfo = [
    { type: 0, score: 1, range: { minY: 50, maxY: 350 }, playerjumprate: 0.8, stoshjumprate: 0.9 },
    { type: 1, score: 10, range: { minY: 100, maxY: 300 }, playerjumprate: 0.6, stoshjumprate: 0.5 },
    { type: 2, score: 5, range: { minY: 100, maxY: 300 }, playerjumprate: 0.4, stoshjumprate: 0.5 },
    { type: 3, score: 3, range: { minY: 100, maxY: 300 }, playerjumprate: 0.2, stoshjumprate: 0.5 },
    { type: 4, score: 5, range: { minY: 300, maxY: 300 }, playerjumprate: 0.6, stoshjumprate: 0.5 },
];
var StageInfo = [
    { id: 1, enemys: [{ enemyType: EnemyType.fish, num: 5 }, { enemyType: EnemyType.shark, num: 1 }, { enemyType: EnemyType.penguin, num: 3 }, { enemyType: EnemyType.duck, num: 10 }, { enemyType: EnemyType.seal, num: 2 }, { enemyType: EnemyType.seal, num: 5 }], winscore: 10, ground: { type: 0, pos: new cc.Vec2(960, 325), offset: 100 } },
    { id: 2, enemys: [{ enemyType: EnemyType.fish, num: 5 }, { enemyType: EnemyType.shark, num: 1 }, { enemyType: EnemyType.penguin, num: 3 }, { enemyType: EnemyType.duck, num: 10 }, { enemyType: EnemyType.seal, num: 2 }, { enemyType: EnemyType.seal, num: 5 }], winscore: 20, ground: { type: 1, pos: new cc.Vec2(960, 325), offset: 50 } },
    { id: 3, enemys: [{ enemyType: EnemyType.fish, num: 5 }, { enemyType: EnemyType.shark, num: 1 }, { enemyType: EnemyType.penguin, num: 3 }, { enemyType: EnemyType.duck, num: 10 }, { enemyType: EnemyType.seal, num: 2 }, { enemyType: EnemyType.seal, num: 5 }], winscore: 30, ground: { type: 2, pos: new cc.Vec2(860, 325), offset: 45 } },
    { id: 4, enemys: [{ enemyType: EnemyType.fish, num: 5 }, { enemyType: EnemyType.shark, num: 1 }, { enemyType: EnemyType.penguin, num: 3 }, { enemyType: EnemyType.duck, num: 10 }, { enemyType: EnemyType.seal, num: 2 }, { enemyType: EnemyType.seal, num: 5 }], winscore: 40, ground: { type: 3, pos: new cc.Vec2(960, 325), offset: 60 } },
    { id: 5, enemys: [{ enemyType: EnemyType.fish, num: 5 }, { enemyType: EnemyType.shark, num: 1 }, { enemyType: EnemyType.penguin, num: 3 }, { enemyType: EnemyType.duck, num: 10 }, { enemyType: EnemyType.seal, num: 2 }, { enemyType: EnemyType.seal, num: 5 }], winscore: 50, ground: { type: 0, pos: new cc.Vec2(400, 300), offset: 100 } },
    { id: 6, enemys: [{ enemyType: EnemyType.fish, num: 5 }, { enemyType: EnemyType.shark, num: 1 }, { enemyType: EnemyType.penguin, num: 3 }, { enemyType: EnemyType.duck, num: 10 }, { enemyType: EnemyType.seal, num: 2 }, { enemyType: EnemyType.seal, num: 5 }], winscore: 60, ground: { type: 0, pos: new cc.Vec2(900, 325), offset: 100 } },
    { id: 7, enemys: [{ enemyType: EnemyType.fish, num: 5 }, { enemyType: EnemyType.shark, num: 1 }, { enemyType: EnemyType.penguin, num: 3 }, { enemyType: EnemyType.duck, num: 10 }, { enemyType: EnemyType.seal, num: 2 }, { enemyType: EnemyType.seal, num: 5 }], winscore: 70, ground: { type: 0, pos: new cc.Vec2(360, 325), offset: 100 } },
    { id: 8, enemys: [{ enemyType: EnemyType.fish, num: 5 }, { enemyType: EnemyType.shark, num: 1 }, { enemyType: EnemyType.penguin, num: 3 }, { enemyType: EnemyType.duck, num: 10 }, { enemyType: EnemyType.seal, num: 2 }, { enemyType: EnemyType.seal, num: 5 }], winscore: 80, ground: { type: 0, pos: new cc.Vec2(960, 325), offset: 100 } },
    { id: 9, enemys: [{ enemyType: EnemyType.fish, num: 5 }, { enemyType: EnemyType.shark, num: 1 }, { enemyType: EnemyType.penguin, num: 3 }, { enemyType: EnemyType.duck, num: 10 }, { enemyType: EnemyType.seal, num: 2 }, { enemyType: EnemyType.seal, num: 5 }], winscore: 90, ground: { type: 0, pos: new cc.Vec2(960, 325), offset: 100 } },
    { id: 10, enemys: [{ enemyType: EnemyType.fish, num: 5 }, { enemyType: EnemyType.shark, num: 1 }, { enemyType: EnemyType.penguin, num: 3 }, { enemyType: EnemyType.duck, num: 10 }, { enemyType: EnemyType.seal, num: 2 }, { enemyType: EnemyType.seal, num: 5 }], winscore: 100, ground: { type: 0, pos: new cc.Vec2(960, 325), offset: 100 } },
    { id: 11, enemys: [{ enemyType: EnemyType.fish, num: 5 }, { enemyType: EnemyType.shark, num: 1 }, { enemyType: EnemyType.penguin, num: 3 }, { enemyType: EnemyType.duck, num: 10 }, { enemyType: EnemyType.seal, num: 2 }, { enemyType: EnemyType.seal, num: 5 }], winscore: 200, ground: { type: 0, pos: new cc.Vec2(960, 325), offset: 100 } },
    { id: 12, enemys: [{ enemyType: EnemyType.fish, num: 5 }, { enemyType: EnemyType.shark, num: 1 }, { enemyType: EnemyType.penguin, num: 3 }, { enemyType: EnemyType.duck, num: 10 }, { enemyType: EnemyType.seal, num: 2 }, { enemyType: EnemyType.seal, num: 5 }], winscore: 300, ground: { type: 0, pos: new cc.Vec2(960, 325), offset: 100 } },
];
//畅意模式下的游戏时间 单位 : 秒
var CrazyGameTime = 60;
var StoshInfo = [
    { id: 1, name: "青虫鱼饵", price: 100 },
    { id: 2, name: "小虾鱼饵", price: 200 },
    { id: 3, name: "小鱼鱼饵", price: 300 }
];
var RodInfo = [
    { id: 0, name: "普通棒", price: 0, tip: "无特殊效果", force: 1, speed: 1 },
    { id: 1, name: "力量棒", price: 1000, tip: "力量Up20%", force: 1.2, speed: 1 },
    { id: 2, name: "速度棒", price: 2000, tip: "距离Up20%", force: 1, speed: 1.2 },
    { id: 3, name: "全能棒", price: 3000, tip: "全面Up20%", force: 1.2, speed: 1.2 }
];
var SignReward = [3000, 500, 800, 1200, 1500, 2000, 3000];
//世界排行榜假数据
var WorldScore = [9999, 9875, 9688, 9524, 9370, 9238, 9123, 9100, 9002, 9000,
    8999, 8875, 8688, 8524, 8370, 8238, 8123, 8100, 8002, 8000,
    7999, 7875, 7688, 7524, 7370, 7238, 7123, 7100, 7002, 7000,
    6999, 6875, 6688, 6524, 6370, 6238, 6123, 6100, 6002, 6000,
    5999, 5875, 5688, 5524, 5370, 5238, 5123, 5100, 5002, 5000,
    4999, 4875, 4688, 4524, 4370, 4238, 4123, 4100, 4002, 4000,
    3999, 3875, 3688, 3524, 3370, 3238, 3123, 3100, 3002, 3000,
    2999, 2875, 2688, 2524, 2370, 2238, 2123, 2100, 2002, 2000,
    1999, 1875, 1688, 1524, 1370, 1238, 1123, 1100, 1002, 1000,
    999, 987, 968, 952, 940, 938, 923, 910, 902, 900,];
var MapSize = new cc.Vec2(20000, 10000);
var Constants = /** @class */ (function () {
    function Constants() {
    }
    Constants.JoystickType = JoystickType;
    Constants.DirectionType = DirectionType;
    Constants.SpeedType = SpeedType;
    Constants.JoystickEventType = JoystickEventType;
    Constants.UIName = UIName;
    Constants.MapSize = MapSize;
    Constants.StoshInfo = StoshInfo;
    Constants.RodInfo = RodInfo;
    Constants.SignReward = SignReward;
    Constants.StageEvent = StageEvent;
    Constants.StageInfo = StageInfo;
    Constants.EnemyType = EnemyType;
    Constants.EnemyInfo = EnemyInfo;
    Constants.PlayerAniState = PlayerAniState;
    Constants.WorldScore = WorldScore;
    Constants.CrazyGameTime = CrazyGameTime;
    return Constants;
}());
exports.default = Constants;

cc._RF.pop();